import request from '@/utils/request'

export default {
  page(params) {
    return request.post('/student/page', params)
  },
  add(data) {
    return request.post('/student/add', data)
  },
  edit(data) {
    return request.post('/student/edit', data)
  },
  delete(id) {
    return request.post('/student/delete', { id })
  },
  info(id) {
    return request.post('/student/info', { id })
  }
}
